namespace Silent.Parallel
{
    public class WorkProperties
    {
        public static WorkProperties Default
        {
            get { return new WorkProperties(); }
        }

        public bool IsParallel { get; set; }
        public uint MaxThreads { get; set; }
        public bool UseAttempts { get; set; }
        public uint MaxAttempts { get; set; }

        public WorkProperties()
        {
            IsParallel = true;
            MaxThreads = 3;
            UseAttempts = true;
            MaxAttempts = 3;
        }
    }
}